﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Right.ascx.cs" Inherits="Components_Right" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%--<telerik:RadScriptManager ID="ScriptManager2" runat="server" EnableTheming="True">
</telerik:RadScriptManager>--%>
<div class="rightCol">
<img style="float:right" class="borderImg" alt="Giỏ hàng" src="/Template/images/cart.png">
    
<div class="yellowBg">
<div class="rightColInfo">
    <div class="floatLeft"><img src="/Template/images/cartIcon.png"></div>
    <div style="margin-top:5px;" class="floatLeft">Bạn có <span class="greenText" id="span_ShoppingCount" runat="server"></span> sản phẩm<br>trong giỏ hàng</div>
</div><!----rightColInfo---->
</div><!---yellowBg--->
                
<div class="yellowBg">
<div class="rightColInfo">
    <div class="floatLeft">Phí vận chuyển <br>Tổng tiền</div>
    <div style="margin-left:20px" class="floatLeft"><b>Miễn phí<br><span id="span_ShoppingCartTotalAmount" runat="server"></span> đ</b></div>
</div><!----rightColInfo---->
</div><!---yellowBg--->
  
                  
<!-- ListView Shopping Cart -->
<asp:ListView ID="lvShoppingCart"  runat="server" >
    <LayoutTemplate>
        <div  id="div_listNew" runat="server"><asp:PlaceHolder ID="itemPlaceholder" runat="server" /></div>      
    </LayoutTemplate>
    <ItemTemplate>
        <div class="whiteBg">
        <div class="rightColInfo">
            
            <div style="margin-top:10px" class="floatLeft"><%# String.Format("{0:#,#.##}",Eval("Weight"))%>kg <%#Eval("ProductName")%><br><%# String.Format("{0:#,#.##}",Eval("Amount"))%> đ</div>
            <div style="margin-top:18px" class="floatRight"><asp:ImageButton runat="server"  class="noborder" ID="ImgbtnDelProduct" Text="" ImageUrl="/Template/images/xoa.png"
                        CommandArgument='<%#Eval("ProductID")%>' OnClientClick="javascript:return confirm('Bạn có muốn xóa sản phẩm khỏi giỏ hàng không?');"  OnCommand="ImgbtnDelProduct_Command"/><!--<a href="#"><img class="noborder" src="/Template/images/xoa.png"></a>--></div>
        </div><!----rightColInfo---->
        </div><!---whiteBg--->
    </ItemTemplate>
</asp:ListView>
<!-- End ListView Shopping Cart-->          

<div class="whiteBg">
<center>
    <asp:Button ID="btnPayment" runat="server" Text="THANH TOÁN" CssClass="greenBtn" OnClick="btnPayment_Click"/>
    <%--<input type="button" value="THANH TOÁN" class="greenBtn">--%>

</center>
</div><!----whiteBg---->
                
<div class="clearBoth"></div>
    
<div style="margin-top: 10px" runat="server" id ="div_support">
<img style="float:right" class="borderImg" src="/Template/images/support.png">

<asp:ListView ID="lvSupport"  runat="server" >
    <LayoutTemplate>
        <div  id="div_listNew" runat="server"><asp:PlaceHolder ID="itemPlaceholder" runat="server" /></div>      
    </LayoutTemplate>
    <ItemTemplate>
        <!---yellowBg---->
        <div class="yellowBg">
            <div class="floatLeft"><img src="/Template/images/iconPhone.png"></div>
            <div style="margin-top:10px" class="floatLeft" id="div_name"><div class="greenText" id="div_phone_number"><%#Eval("PhoneNumerComp")%></div></div>
            <div class="floatLeft" id="div_skype" style="margin-left:10px"><a href="skype:<%#Eval("Skype")%>?chat"><img src="http://mystatus.skype.com/smallclassic/<%#Eval("Skype")%>" alt="skype"  style='border: none;'" /></a></div>
            <div class="floatLeft" style="margin-left:10px" id="div_yahoo"><a href = "ymsgr:sendim?<%#Eval("Yahoo")%>" ><img src='http://mail.opi.yahoo.com/online?u=<%#Eval("Yahoo")%>&m=g&t=2'border=0 style="width: 96px"/></a></div>
        </div><!---yellowBg---->
    </ItemTemplate>
</asp:ListView>


 <!--                   
<div class="yellowBg">
    <div class="floatLeft"><img src="/Template/images/iconSkype.png"></div>
    <div style="margin-top:10px" class="floatLeft"><div class="greenText"></div></div>
</div><!---yellowBg---->
     <!--               
<div class="yellowBg">
    <div class="floatLeft"><img src="/Template/images/iconYahoo.png"></div>
    <div style="margin-top:10px" class="floatLeft"><div class="greenText">Online Now!</div></div>
</div><!---yellowBg---->
   
</div>  
                  
</div>
